Group.flattenRenderTree

If you don't have overlapping sprites, you may flatten the tree for rendering. This beyond increasing iteration speed since there will be less recursive calls, it is also possible to sort by batch types.

class Group
void
flattenRenderTree
(
scope TypeInfo[] renderOrder...
)

Meta